﻿using UnityEngine;
using System.Collections;
/// <summary>
/// Properties example (Functional)
/// </summary>
public class PropertiesExample : MonoBehaviour 
{

	private int m_MaxInt;

	public float m_MaxFloats
	{
		get;
		set;
	}
	public int maxInt
	{
		get
		{
			Debug.Log("Calling get");
			return m_MaxInt;
		}
		set
		{
			Debug.Log("Calling set");
			if(value >= 0 && value < 25)
				m_MaxInt = value;
		}
	}
}
